import time
from src.utils.fileManage.scanFile import ScanFile
from src.utils.fileManage.analyzeFile import AnalyzeFile

if __name__ == '__main__':
    while True:
        file_list = ScanFile().scanCsv()
        af = AnalyzeFile()
        for file_name in file_list:
            af.analyze_csv(file_name)
        time.sleep(5)
